package gmap

import (
	"database/sql"
	"log"
	_"github.com/go-sql-driver/mysql"
)

var db   *sql.DB

func dbObject() *sql.DB {
	db, err := sql.Open("mysql", "root:123456@/zhangtu?charset=utf8")

	if err != nil {
		log.Fatal(err)
	}
	return db
}
